package com.tronsis.distribution.biz;

import android.app.Activity;

import com.tronsis.library.http.UICallBack;


public interface CommonBiz {

    /**
     * 查找找用户
     * @param activity
     * @param phone
     * @param callBack
     * @throws Exception
     */
    void findUser(Activity activity, String phone, UICallBack callBack)throws Exception;

    /**列出公司收款方法
     * @param activity
     * @param callBack
     * @throws Exception
     */
    void getCompanyPayeeList(Activity activity, UICallBack callBack)throws Exception;

    /**列出上级/公司收款方法
     * @param activity
     * @param callBack
     * @throws Exception
     */
    void getLeaderPayeeList(Activity activity, UICallBack callBack)throws Exception;

    /**1积分转换多少元
     * @param activity
     * @param callBack
     * @throws Exception
     */
    void pointConvert(Activity activity, UICallBack callBack)throws Exception;

    /**投诉历史
     * @param activity
     * @param page
     * @param size
     * @param callBack
     * @throws Exception
     */
    void getReportList(Activity activity, int page, int size, UICallBack callBack)throws Exception;

    /**投诉
     * @param activity
     * @param detail
     * @param reason
     * @param callBack
     * @throws Exception
     */
    void submitReport(Activity activity, String detail, String reason,UICallBack callBack)throws Exception;

    /**     * 系统各类说明 <键, 说明内容>

     * @param activity
     * @param callBack
     * @throws Exception
     */
    void getRulesMap(Activity activity, UICallBack callBack)throws Exception;


}
